package com.yanti.controller;

import com.yanti.domain.ResponseResult;
import com.yanti.service.ExperienceCircleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/experienceCircle")
public class ExperienceCircleController {

    @Autowired
    private ExperienceCircleService experienceCircleService;

    @GetMapping("/getAllExperienceCircle")
    public ResponseResult getAllExperienceCircle(){
        return experienceCircleService.getAllExperienceCircle();
    }
}
